home *** CD-ROM | disk | FTP | other *** search
/ Wild Blue Yonder 1: 50 Years of Gs & Jets / Wild Blue Yonder - Episode 1 - 50 Years of Gs and Jets (Digital Ranch) (Spectrum Holobyte)(1-107-40-101)(1994).iso / control / panel.dir / 00738_Script_738 < prev    next >
Text File  |  1994-08-29  |  893b  |  28 lines

  1. on goNextMovie where
  2.   global aspectMenu, CDroot, DL, era, panelDummy 
  3.   
  4.   if the castNum of sprite aspectMenu <= ¼
  5.     the number of cast "B47 aspect menu" then
  6.     set era = "JetAge"
  7.   else if the castNum of sprite aspectMenu <= ¼
  8.     the number of cast "SR71 aspect menu" then
  9.     set era = "Vietnam"
  10.   else if the castNum of sprite aspectMenu <= ¼
  11.     the number of cast "MIG aspect menu" then
  12.     set era = "Desert"
  13.   else
  14.     set era = "Tomorrow"
  15.   end if
  16.   
  17.   -- Before launching next movie, make sure the user didn't hold the mouse
  18.   -- down over the thin border at the bottom of the aspect menu.  If he
  19.   -- did, no aspect label would light, and the argument passed to this
  20.   -- handler would be the panel dummy.
  21.   if where <> panelDummy then
  22.     set destination = CDroot & era &DL& where
  23.     go to movie destination
  24.     abort
  25.   end if
  26.   
  27. end goNextMovie
  28.